וְאִ֣ם ׀ תֵּלֵ֣ךְ בִּדְרָכַ֗י לִשְׁמֹ֤ר חֻקַּי֙ וּמִצְוֺתַ֔י כַּאֲשֶׁ֥ר הָלַ֖ךְ דָּוִ֣יד אָבִ֑יךָ וְהַאַרַכְתִּ֖י אֶת־יָמֶֽיךָ׃ (ס)
And if thou wilt walk in My ways, to keep My statutes and My commandments, as thy father David did walk, then I will lengthen thy days.’
Read Kabbalistic (mystical) interpretations of I Kings 3:14: Zohar and classical Jewish mystical sources, free online.